<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../common/Top.jsp"%>

<div id="BackLink">
	<a href="index.jsp">返回主页面</a>
</div>

<div class="bg">
	<div class="product-image">${sessionScope.showingProduct.imageSrc}</div>
	<div class="product-form">
		<form action="Product" method="post">
			<table class="showTable" title="宠物信息">
				<tr>
					<td>宠物品种:</td>
					<td>${sessionScope.showingProduct.breed}</td>
				</tr>
				<tr>
					<td>宠物编号:</td>
					<td>${sessionScope.showingProduct.productId}</td>
				</tr>
				<tr>
					<td>宠物描述:</td>
					<td>${sessionScope.showingProduct.descr}</td>
				</tr>
				<tr>
					<td>单价:</td>
					<td>￥${sessionScope.showingProduct.unitprice}</td>
				</tr>
				<tr>
					<td><label for="num">购买数量:</label></td>
					<td><input type="number" class="numberBox" id="num" name="num" value="1" min="1"></td>
				</tr>
			</table>
			<div class="product-form-item">
				<a class="product-form-cartlink" href="AddCart"><input type="button" class="product-form-addcart" value="加入购物车"></a>
				<input type="submit" class="product-form-submit" value="购买">
			</div>
		</form>
	</div>
</div>

<%@ include file="../common/Bottom.jsp"%>





